/*初始化样式*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

input,button {
    outline: none;
}

a {
    text-decoration: none;
}

img {
    /*照顾低版本浏览器，图片外面有链接，会有边框问题*/
    border: 0;
    /*行内元素和文字垂直居中，图片底部有空隙问题*/
    vertical-align: middle;
}

body {
    /*抗锯齿性：在页面放大时，文字仍然清晰*/
    -webkit-font-smoothing: antialiased;
}

/*清除浮动*/
.clearfix:after {
    visibility: hidden;
    clear: both;
    display: block;
    content: "";
    height: 0;
}
.clearfix {
    *zoom: 1;
}

/*版心*/
.w {
    width: 1000px;
    margin: 0 auto;
}

